
#ifdef a
#include <stdio.h>
#include <string.h>
int main(void)
{
    int k;
    for (k = 1; k <= 3; k++) { //该循环用于自动阅卷，请考生忽略
        char str1[19], str2[5], str3[3];
        //用数组str1存储身份证号码，数组str2储存出生年份，数组str3储存出生月份
        int i, j;
        scanf("%s", str1);
        //输入身份证号码
        j = 0;
        for (
            i = 6; i <= 9; i++
            )  //取年份
            str2[j++] = str1[i];
        str2[j] = '\0';
        j = 0;

        for (i = 10; i <= 11; i++)//取月份
            str3[j++] = str1[i];
        str3[j] = '\0';

        printf("出生年：%s\n", str2);
        printf("出生月：%s\n",
            str3
        );
    } //该循环用于自动阅卷，请考生忽略
    return 0;
}
#endif